<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/common_head.jsp" %>
<!DOCTYPE HTML>
<html>
<head>
<%@ include file="/jsp/common/common_script.jsp"%>
<title>黄石物流后台管理系统</title>
</head>
<script src="${ctx}/js/system/code_list.js"></script>
<script type="text/javascript">
$(function(){
	
	$.extend($.fn.validatebox.defaults.rules, {  
	    maxLength: {  
	        validator: function(value, param){  
	            return value.length <= param[0];  
	        },  
	        message: '最大{0}字，请确认 '  
	    }  
	}); 
});
</script>

<body>
<table class="queryTable" >
<tr>
		<td class="queryTitle" width="50px" align="center">类型编码</td>
		<td class="queryContent" >
			<input class="inputText easyui-validatebox" validType="maxLength[4]" type="text"  id="queryCodeTypeId" onkeypress="keyPressQuery(event);"/> 
		</td>	
		<td class="queryTitle" width="50px" align="center" >类型名称</td>
		<td class="queryContent" >
			<input class="inputText easyui-validatebox" validType="maxLength[40]" type="text"  id="queryCodeTypeValue" onkeypress="keyPressQuery(event);"/>
		</td>	
		<td class="queryContent" >
		<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" onclick="doQuery()">查询</a>
		</td>

</tr>
</table>
<table id="codeTypeGrid"></table>
<div style="height:20px">
</div>
<table id="codeGrid"></table>
<p><input type="hidden" id="codeTypeNo" value=""></p>

<div id="addDlg" class="easyui-window" title="编码类型" iconCls="icon-add" closed="true" style="width:570px; height:300px;text-align:center; background: #fafafa;">
		<div class="easyui-layout" fit="true">
			<div region="center" border="false" style="background:#fff;border:1px solid #ccc;padding-left: 30px;">
				<form id="addForm"  method="POST">
					<table border="0" class="queryTable" width="530px" >
						<tr>
							<td class="queryTitle">类型编码：</td>
							<td class="queryContent">
								<input type="text" id="codeTypeId" name="codeTypeId" size="30" class="readOnlyText" readonly="readonly"/>
							</td>
						</tr>
						<tr>
							<td class="queryTitle">类型名称：</td>
							<td class="queryContent">
								<input type="text" id="codeTypeValue" name="codeTypeValue" class="readOnlyText" readonly="readonly" />
							</td>
						</tr>
						<tr>
							<td class="queryTitle">备注：</td>
							<td class="queryContent">
								<textarea id="codeTypeRemark" name="codeTypeRemark" class="readOnlyText" readonly="readonly" cols="28" rows="5"></textarea>
							</td>
						</tr>
					</table>
				</form>
			</div>
			
		</div>

</div>
</body>
</html>
